package com.oromwin.repos.socket.request;

import java.sql.Timestamp;

import com.oromwin.repos.common.Common;
import com.oromwin.repos.data.FileTable;
import com.oromwin.repos.data.MediaTable;
import com.oromwin.repos.data.VolumeTable;

public abstract class AbstractRequest implements Request {
    private String _uuid = null;
    private Timestamp _timestamp = null;
    protected VolumeTable _volumeTable = null;
    protected MediaTable _mediaTable = null;
    protected FileTable _fileTable = null;
    public AbstractRequest() {
        _uuid = Common.UniqueId.generate();
        _timestamp = new Timestamp(System.currentTimeMillis());
    }
    public String id() {
        return _uuid;
    }
    public Timestamp timestamp() {
        return _timestamp;
    }
}
